import { get, post, formData } from "@/api/services/formReq";

// 根据APPID查询数据发现字段数据
export const discoverTree = params => post("/v1/discover/discoverTree", params);

// 分类分级的下拉(1级+2级)
export const dccSelect = params => post("/v1/childata/dccSelect", params);

// 匹配的内容信息
export const discoverFinds = params => post("/v1/childata/discover/finds", params);

// DI数据详情
export const dataLibraryDetail = params => post("/v1/datalibrary/detail", params);

// DI数据删除
export const dataLibraryDelete = params => post("/v1/datalibrary/detail/delete", params);
//di删除
export const dataDelete = params => post("/v1/dataLibrary/delete", params);

// 导入DI表格
export const dataExcel = params => post("/v1/dataLibrary/fields/import/excel", params);